package com.dubbo.cp.IService;

import java.util.List;

import com.dubbo.cp.entity.UserEntity;

public interface UserService {

	public UserEntity findUserByUserid(int id);//按id查询用户实体
	public void insertUserEntity(String username,String password);
	public void InsertUserEntity1(UserEntity userEntity);
	public void deleteUserEntity(int id);
	public UserEntity getUser(String name, String password);
	public List<UserEntity>getUserByPage(int start, int size);//分页查询用户的信息
	public List<UserEntity> getUserList();//查询所有用户
	public void updateUserEntity(UserEntity userEntity);//更新用户信息
}
